@use '../core' as *;

.version {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: $spacing-size-4 $spacing-size-4 $spacing-size-2 $spacing-size-4;
    border-radius: 8px;
    border: 1px solid var(--color-border-primary);

    #{$selector-darkmode} & {
        background: var(--color-bg-tertiary);
    }

    ul {
        padding-left: $spacing-size-5;
    }

    header a:hover,
    ul a:hover {
        text-decoration: underline;
    }
}

.topHeader {
    display: flex;
    flex-direction: column;
    gap: $spacing-size-2;

    span {
        color: var(--color-fg-tertiary);
    }
}

.featuresLabel {
    margin-top: $spacing-size-2;
    margin-bottom: $spacing-size-1;

    #{$selector-darkmode} & {
        color: var(--color-fg-secondary);
    }
}

.line {
    margin-top: $spacing-size-2;
    margin-bottom: $spacing-size-2;
    border-bottom: 1px solid var(--color-border-primary);
}

.flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-decoration: none;
}

span.major-text {
    border: 1px solid var(--color-logo-orange);
    border-radius: var(--radius-4xl);
    color: var(--color-logo-orange);
    padding: 2px 8px;
}

.buttonSecondary {
    width: 100%;
    text-align: center;
    margin-bottom: $spacing-size-2;

    #{$selector-darkmode} & {
        background: var(--color-gray-700);
        color: var(--color-button-secondary-fg);
    }
}

.latest-tag {
    border: 1px solid var(--color-text-primary);
    border-radius: var(--radius-4xl);
    padding: 2px 8px;
    margin-right: 8px;

    #{$selector-darkmode} & {
        border: 1px solid var(--color-border-primary);
    }
}
